const api: ApiConfig = {
  partBuildList: {
    method: 'GET',
    url: '/oa/partyAffairs/list'
  },
  partBuildItem: {
    method: 'GET',
    url: '/oa/partyAffairs/info/:id'
  },
  partBuildBack: {
    method: 'GET',
    url: '/oa/partyAffairs/revoke'
  },
  partBuildSave: {
    method: 'POST',
    url: '/oa/partyAffairs/save'
  },
  partBuildUpdate: {
    method: 'POST',
    url: '/oa/partyAffairs/update'
  },
  partParsons: {
    method: 'GET',
    url: '/sys/user/listUserParty'
  },
  partWorkList: {
    method: 'GET',
    url: '/sys/user/listUserPartyForCount'
  },
  //党建天地图片-轮播图相关
  imgList: {
    method: 'GET',
    url: '/oa/carousel/list'
  },
  imgItem: {
    method: 'GET',
    url: '/oa/carousel/info/:id'
  },
  imgSave: {
    method: 'POST',
    url: '/oa/carousel/save'
  },
  imgUpdate: {
    method: 'POST',
    url: '/oa/carousel/update'
  },
  imgDelete: {
    method: 'POST',
    url: '/oa/carousel/delete'
  },
  imgStartOrStop: {
    method: 'GET',
    url: '/oa/carousel/updateStatus'
  }
}
export default api
